Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix leading zeros in integer literals #36

Merged

Conversation

fkleedorfer
Copy link
Contributor

The formatter used to swallow leading zeros in integer literals, as in the triple,

:thing :value 060 .

With this change, by rendering the lexical form of the literal, the exact input form is reproduced.

Fixes #35

The formatter used to swallow leading zeros in integer literals, as in the triple,

```
:thing :value 060 .
```

With this change, by rendering the lexical form of the literal, the exact input form is reproduced.
@atextor atextor merged commit 0739515 into atextor:main Oct 3, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

formatting swallows leading zeros of integer literals
2 participants